<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <div v-html="msg">
        </div>

        <h1 v-html="title"></h1>

        
    </div>

    <script src="./node_modules/vue/dist/vue.js"></script>
    <script>
        const app = new Vue({
            el: '#app',
            data: {
                msg: 'Hello, World!',
                title: '<a href="https://www.baidu.com">百度一下</a>'
            }
        })
    </script>
</body>

</html>